/* 
 * File:   Color4.h
 * Author: aljosa
 *
 * Created on June 27, 2010, 3:14 PM
 */

#ifndef _COLOR4_H
#define	_COLOR4_H

namespace xEngine
{
    namespace Renderer
    {
        class Color4 {
        public:
            Color4();
            virtual ~Color4();

            


            void set(float r, float g, float b, float a);

            // Inline methods
            inline float getRed() { // Get red channel
                return data[0];
            }

            inline float getGreen() { // Get red channel
                return data[1];
            }

            inline float getBlue() { // Get red channel
                return data[2];
            }

            inline float getAlpha() { // Get red channel
                return data[3];
            }

            private:
            float data[4];

        };
    }
}

#endif	/* _COLOR4_H */

